<template>
	<view class="container">
		<view class="wrap">
			<view class="top">
				<image @click="goback" class="img" src="../../static/img/left .png" mode=""></image>
				<text class="title">地址管理</text>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				statusBarHeight: null,

			}
		},
		onLoad() {

			var _this = this;
			// 获取手机状态栏高度
			uni.getSystemInfo({
				success: function(data) {
					// 将其赋值给this
					_this.statusBarHeight = data.statusBarHeight;
				}
			})

		},
		methods: {
			goback() {
				uni.navigateBack(1)
			}
		}
	}
</script>

<style lang="scss">
	.container {
		width: 750rpx;

		.wrap {
			position: fixed;
			background: #ffffff;
			width: 100%;
			height: 80rpx;
			line-height: 80rpx;
			top: 0;
			left: 0;


			.top {
				margin-left: $uni-spacing-row-sm;
				margin-right: $uni-spacing-row-sm;
				text-align: center;

				.img {
					width: 34rpx;
					height: 34rpx;
				}

				.title {
					width: 90%;
					display: inline-block;
				}
			}
		}

	}
</style>
